package top.sqdpt.third.strategy;

import top.sqdpt.third.config.WeatherProperties.WeatherConfig;
import top.sqdpt.third.entity.dto.*;
import top.sqdpt.third.enums.WeatherType;

import java.util.List;

/**
 * @author pengtao
 * @date 2025/4/7
 * @Descciption
 **/
public interface WeatherStrategy {

    /**
     * @return 天气渠道类型
     */
    WeatherType getWeatherType();

    List<WeatherResponseDTO> queryWeather(WeatherRequestDTO requestDTO);

    /**
     * @param
     * @return 天气预报
     */
    List<WeatherResponseDTO> queryWeatherForecast(WeatherRequestDTO requestDTO);

    /**
     * @param
     * @return 实时天气
     */
    WeatherResponseDTO queryWeatherNow(WeatherRequestDTO requestDTO);

    String getCityCode(String address, String city);

}
